/*
 * Powered By XY
 * Since 2020
 */

package com.xy.biz.uc.domain.req;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import org.hibernate.validator.constraints.Length;

import java.time.LocalDateTime;
import java.util.List;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 *
 *
 * @author zsp
 * @date 2020-8-20
 */
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Data
public class SaveUserGroupRequest {

	/**
	 * 分组Id
	 */

	private Long userGroupId;
	/**
	 * 名称
	 */
	@NotBlank
	private String userGroupName;
	/**
	 * 简称
	 */
//	@NotBlank
	private String userGroupAbbr;
	/**
	 * 排序号
	 */
	@NotNull
	private Integer sequence;
	/**
	 * 上级分组Id
	 */
	@NotNull
	private Long parentUserGroupId;
	/**
	 * 用户分组类型：0-公司/部门
	 */
	@NotNull
	private Integer type;

	/**
	 *
	 */
	private List<Long> roleIdList;


}
